<template>
    <div class="template_config_container">
        <el-form label-width="0px">
            <el-form-item>
                <el-input v-model="json" type="textarea" :rows="10" />
            </el-form-item>
        </el-form>
    </div>
</template>

<script>
import base from "@common/components/dialog/base.js";

export default {
    extends: base,
    name: "Config",
    data() {
        return {
            json: '',
        };
    },
    methods: {
        init() {
            const _this = this;
            _this.json = '';
            if (_this.propsData.init) {
                return;
            }
            _this.json = _this.propsData.json || '';
        },
    },
}
</script>
<style lang="less" rel="stylesheet/less" scoped>
.template_config_container {
    width: 100%;
    height: 100%;
    overflow: hidden;
}
</style>